n = 1024
code = bin(n)[2:]
for i in range(2, 37):
    print(int(code, i))

print(f"{n = }")
print(f"{(bc := bin(n)) = }, {n.bit_count() = }, {int(bc,2) = }")
print(f"{(oc := oct(n)) = }, {int(oc,8) = }")
print(f"{(hc := hex(n)) = }, {int(hc,16) = }")
